<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MyJspA.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script src="<%=basePath%>backgroundManager/js/jquery-1.4.4.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=basePath%>backgroundManager/js/asyncbox/AsyncBox.v1.4.5.js" charset="utf-8"></script>

	<link href="<%=basePath%>backgroundManager/js/asyncbox/skins/ZCMS/asyncbox.css" rel="stylesheet" type="text/css" />
  </head>
  <script type="text/javascript">
  	function aapov(){
  		alert("A");
  		var a = window.showModalDialog("MyJspB.jsp","","center=yes;help=no;status=no");
  	}
  	function setValue(){
  		var b = document.getElementById("aapo110").value = "AAA";
  	}
  	function aspppppp(){
  		asyncbox.open({
			url : "MyJspB.jsp",
			data : {"opiD" : "47100MS"},
			width : 900,
			height : 600,
			top : 0,
			drag : false,
			modal : true,
			scrolling : "yes",
			title : "渠道信息",
			tipsbar : {
				title : '渠道信息查询',
				content : '渠道信息查询'
			},
			btnsbar : $.btn.OKCANCEL,	
			callback : function(action,iframe,returnValue){
				if(action == 'ok'){
					alert("A");
				}else{
					alert("B");
				}
			}
		});
  	}
  </script>
  <body>
   <input type="button" value=".." onclick="aspppppp()" />
   <br/>
   <input type="text" id="aapo110"  />
   <br/>
   <table style="border-color: black; border-style: solid;">
   	<tr><td>1</td><td>2</td></tr>
   	<tr><td>one</td><td>two</td></tr>
   </table>
  </body>
</html>
